package com.niuwa.p2p.dao.channel;

import java.util.List;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.channel.CataLogFile;
import com.niuwa.p2p.entity.channel.CataLogFileKey;
import com.niuwa.p2p.entity.channel.LenderFileCatalog;
import com.niuwa.p2p.vo.channel.ChannelCatalogLenderCatalogVo;
@MyBatisDao
public interface CataLogFileDao {
    int deleteByPrimaryKey(CataLogFile key);
    /**
	 * 保存借款文件記錄
	 * @param cataLogFileKey 
	 */
    int insert(CataLogFile record);

    int insertSelective(CataLogFile record);

	/**
	 * 根据条件查询借款文件
	 * @param catalogNo
	 * @return
	 */
	List<CataLogFile> queryCataLogFiles(CataLogFileKey c);
	/**
	 * 删除借款文件
	 * @param catalogNo
	 */
	void deleteByCatalogNo(String catalogNo);
	
	int updateByPrimaryKeySelective(CataLogFile record);
	
}